﻿using ManagementClinic.App.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ManagementClinic.App.ViewModel
{
    public class Page : ViewModelBase
    {
        private int pageValue;
        public int PageValue
        {
            get { return pageValue; }
            set
            {
                pageValue = value;
                OnPropertyChanged("PageValue");
            }
        }
       public static List<Page> Get(int countPage)
       {
           var listOut = new List<Page> { };
           for(int i=1;i<=countPage;i++)
           {
               listOut.Add(new Page() { PageValue = i });
           }
           return listOut;
       }
    }
}
